# 配置文件

# 设置加密盐
SECRET_KEY = "11334455"

# 数据库配置信息
HOSTNAME = "127.0.0.1"
PORT = 3306
USERNAME = "root"
PASSWORD = "12345678"
DATABASE = "zhiliaoQuora"
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8mb4'.format(USERNAME,PASSWORD,HOSTNAME,PORT,DATABASE)

SQLALCHEMY_DATABASE_URI = DB_URI


# 邮箱配置
MAIL_SERVER = "smtp.qq.com"
MAIL_USE_SSL = True
MAIL_PORT = 465
MAIL_USERNAME = "1075458839@qq.com"
# 授权码
MAIL_PASSWORD = ""
MAIL_DEFAULT_SENDER = ""